home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / v10n07.arc / ENVCHECK.BAT < prev    next >
DOS Batch File  |  1991-03-27  |  1KB  |  34 lines

  1. @ECHO OFF
  2. SET THIS_VARIABLE_IS=EXACTLY_38_BYTES_LONG
  3. IF NOT '%THIS_VARIABLE_IS%'=='EXACTLY_38_BYTES_LONG' GOTO ERROR
  4. SET THIS_VARIABLE_IS=
  5. SET DOS=IBM_PC_33
  6. SET MON=VGA
  7. SET ADRV=1200
  8. SET BDRV=1440
  9. GOTO NEXT
  10. :ERROR
  11. ECHO * ERROR * * * ERROR * * * ERROR * * * ERROR *
  12. ECHO ---------------------------------------------
  13. ECHO Your system does not have enough environment space available 
  14. ECHO to execute this batch program.
  15. ECHO ---------------------------------------------
  16. ECHO If your DOS version is 3.0 or less, you will have to patch 
  17. ECHO COMMAND.COM to get a larger environment.  DOS versions 3.1 
  18. ECHO and up can enlarge the environment with a CONFIG.SYS line:
  19. ECHO.
  20. ECHO     SHELL=C:\COMMAND.COM /P /E:###
  21. ECHO.
  22. ECHO For DOS 3.1, replace ### with the number of 16-byte paragraphs
  23. ECHO you want in the environment.  For 3.2 and up, replace ### with
  24. ECHO the actual number of bytes you want.  If your COMMAND.COM is
  25. ECHO not in the root directory of C:, replace C:\COMMAND.COM with
  26. ECHO the actual location of COMMAND.COM.  The change will take effect
  27. ECHO after you reboot your computer.
  28. ECHO.
  29. GOTO END
  30. :NEXT
  31. SET
  32. ECHO Environment variables OK -- rest of batch program goes here.
  33. :END
  34.